package com.chejianer.push.service;

import com.chejianer.core.utils.PushCode;

import java.util.Collection;

/**
 * Created by Chejianer on 2016/10/27.
 */
public interface PushMessageBySocketIoService {
    void pushToBuyer(Collection<?> deviceIds, String msg, PushCode pushCode);

    void pushToBuyer(String deviceId, String msg, PushCode pushCode);

    void pushToVendor(Collection<?> deviceIds, String msg, PushCode pushCode);

    void pushToVendor(String deviceId, String msg, PushCode pushCode);

    void pushToAllBuyer(String msg, PushCode pushCode);

    void pushToAllVendor(String msg, PushCode pushCode);
}
